<%@page import="com.kaishengit.entity.User"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="topbar" data-dropdown="dropdown">
		<div class="topbar-inner">
			<div class="container">
				<h3>
					<a href="#">JSP-CRUD</a>
				</h3>
				<ul class="nav">
					<li class="active">
						<a href="#">Home</a>
					</li>
					<li>
						<a href="#">Other</a>
					</li>
				</ul>
				<%
					User sessionuser = (User)session.getAttribute("user");
				%>
				
				<ul class="nav secondary-nav">
					<li class="dropdown">
						<a class="dropdown-toggle" href="user.jspx?task=logout"><%=sessionuser.getUsername() %></a>
						
					</li>
				</ul>
			</div>
		</div>
	</div>